package com.inspur.edp.cef.designtime.api.operation;

import java.util.EnumSet;
import java.util.HashMap;

import com.inspur.edp.cef.designtime.api.collection.ValElementCollection;

/**
 * The Definition Of Common Validation
 *
 * @ClassName: CommonValidation
 * @Author: Benjamin Gong
 * @Date: 2021/1/11 17:13
 * @Version: V1.0
 */
public class CommonValidation extends CommonOperation {
    private ValElementCollection rqtElements;
    private EnumSet<ExecutingDataStatus> status = EnumSet.of(ExecutingDataStatus.forValue(0));

    public final EnumSet<ExecutingDataStatus> getGetExecutingDataStatus() {
        return status;
    }

    public final void setGetExecutingDataStatus(EnumSet<ExecutingDataStatus> value) {
        status = value;
    }
    public CommonTriggerPointType getTriggerPointType() {
        return triggerPointType;
    }

    public void setTriggerPointType(CommonTriggerPointType triggerPointType) {
        this.triggerPointType = triggerPointType;
    }
    private java.util.HashMap<String, ValElementCollection> requestChildElements;

    public final void setRequestChildElements(java.util.HashMap<String, ValElementCollection> value) {
        requestChildElements = value;
    }

    public final java.util.HashMap<String, ValElementCollection> getRequestChildElements() {
        if (requestChildElements == null) {
            requestChildElements = new java.util.HashMap<String, ValElementCollection>();
        }
        return requestChildElements;
    }

    public HashMap<String, ChildValTriggerInfo> getChildTriggerInfo() {
        return childTriggerInfo;
    }

    public void setChildTriggerInfo(HashMap<String, ChildValTriggerInfo> childTriggerInfo) {
        this.childTriggerInfo = childTriggerInfo;
    }

    private HashMap<String, ChildValTriggerInfo> childTriggerInfo;
    private CommonTriggerPointType triggerPointType = CommonTriggerPointType.forValue(0);
    public final ValElementCollection getRequestElements() {
        if (rqtElements == null) {
            rqtElements = new ValElementCollection();
        }
        return rqtElements;
    }

    public final void setRequestElements(ValElementCollection value) {
        rqtElements = value;
    }
}